import { Tools } from 'weaver-mobile';
//提醒列表
export const getRemindListPage = params => {
    return Tools.callApi({
        url: '/api/crm/mobile/getRemindListPage',
        method: 'GET',
        params,
    });
}
//提醒列表-确认提醒
export const saveRemindConf = params => {
    return Tools.callApi({
        url: '/api/crm/mobile/saveRemindConf',
        method: 'GET',
        params,
    });
}

//提醒列表-删除提醒
export const deleteRemind = params => {
    return Tools.callApi({
        url: '/api/crm/mobile/deleteRemindByRole',
        method: 'GET',
        params,
    });
}
//提醒列表-获取新建提醒页面
export const getRemindAddForm = params => {
    return Tools.callApi({
        url: '/api/crm/mobile/getRemindAddForm',
        method: 'GET',
        params,
    });
}
//保存提醒
export const saveRemind = params => {
    return Tools.callApi({
        url: '/api/crm/mobile/saveRemind',
        method: 'GET',
        params,
    });
}
//保存常用语
export const saveCommonLanguage = params => {
    return Tools.callApi({
        url: '/api/crm/mobile/saveCommonLanguage',
        method: 'GET',
        params,
    });
}

//获取常用语
export const getCommonLanguageList = params => {
    return Tools.callApi({
        url: '/api/crm/mobile/getCommonLanguageList',
        method: 'GET',
        params,
    });
}
//保存常用语点击次数+1
export const saveCommonLanguageCount = params => {
    return Tools.callApi({
        url: '/api/crm/mobile/saveCommonLanguageCount',
        method: 'GET',
        params,
    });
}

//删除常用语
export const deleteCommonLanguage = params => {
    return Tools.callApi({
        url: '/api/crm/mobile/deleteCommonLanguage',
        method: 'GET',
        params,
    });
}